package org.dromara.school.domain.bo;

import org.dromara.school.domain.TeacherClasses;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 教师班级绑定业务对象 school_teacher_classes
 *
 * @author Gjb
 * @date 2025-06-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TeacherClasses.class, reverseConvertGenerate = false)
public class TeacherClassesBo extends BaseEntity {

    /**
     * 教师id
     */
    @NotNull(message = "教师id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long teacherId;

    /**
     * 班级id
     */
    @NotNull(message = "班级id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long classesId;

    /**
     * 教师类型
     */
    @NotNull(message = "教师类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long teacherType;

    /**
     * 校区id
     */
    @NotNull(message = "校区id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long schoolCampusId;


}
